<template>
  <div>
    <svg-icon icon-class="github" @click="goto" />
  </div>
</template>

<script setup lang="ts">
// 定义GitHub链接
const url = 'https://www.baidu.com'

// 跳转到GitHub页面
const goto = () => {
  window.open(url)
}
</script>
